Repository navigation
feat(workflows): expose verdict inputs on bundled review gates - #5391
chelsealong wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Unchanged workflow versions block existing installations from receiving the fix through updates, and the tests use a nonportable command that causes failures on Windows without Unix utilities.
2 open issues
What changed in this PR
Addresses #5389 by allowing bundled workflow review gates to accept verdicts without a terminal, while preserving existing behavior when verdicts are omitted or empty.
Changes:
- Adds optional verdict inputs to the specification, plan, and assessment gates.
- Adds regression tests for pausing and resuming all three gates.
- Updates the shipped workflow example and non-interactive resume guidance.
Tests were not rerun during this review. AI disclosure: GitHub Copilot (model unknown, autonomous mode) generated this review for the requester.
| File | Description |
|---|---|
workflows/speckit/workflow.yml |
Adds and binds specification and plan verdict inputs. |
workflows/bugfix/workflow.yml |
Adds and binds the assessment verdict input. |
tests/workflows/test_bundled_gate_verdict_inputs.py |
Tests omitted, empty, and approving verdicts without a terminal. |
docs/workflows/developing.md |
Updates the example and explains verdict-based resume. |
Review effort: Balanced (auto)
|
|
||
| # Keep the shipped gate and input schema, replacing agent commands with a | ||
| # local shell step so this exercises CLI run/resume without an agent. | ||
| source["steps"] = [gate, {"id": "after", "type": "shell", "run": "true"}] |
| spec_verdict: | ||
| type: string | ||
| enum: ["", approve, reject] | ||
| default: "" |
|
Thank you for the contribution. The requested verdict inputs for all three bundled review gates have landed in #5392, so this PR is superseded. Closing in favor of that merged implementation. AI disclosure: Posted on behalf of @mnriem by GitHub Copilot using GPT-6.1 Sol (gpt-6.1-sol), autonomous execution of the authorized cleanup; AI-generated closure explanation. Reasoning-effort settings were not exposed. |


Description
Fixes #5389. Add optional
spec_verdict,plan_verdict, andassessment_verdictinputs to the corresponding bundled gates. Omitted or empty values preserve the existing pause behavior. Update the shipped workflow example in the documentation.Testing
.venv/bin/specify --help.venv/bin/python -m pytest— 13 passedThe new test failed on all three gates before the change with a missing
verdict_input. After the change, it verifies that each gate pauses without a verdict and completes afterresume --input ...=approve. Markdownlint, Ruff, andgit diff --checkpassed.AI Disclosure
AI disclosure: Implemented with Codex (GPT-6, default settings, autonomous mode) for workflow configuration, documentation, and regression test generation. No human review or testing is claimed.